Scalable JavaScript architecture made of modules, sandbox and Google Closure Library