updating js to proper module loader.