adding service enabling as well as fixing require.js dependencies