Namespaces and move to Prototype.js