20130918.6

moving global.js to a submodule