fixed as using requirejs and grunt