Merge pull request #3 from jfbastien/namespaces

Add a few fixes for Chrome.