Moving to requirejs, using npm and bower for dependency management