Updated js to be requirejs friendly