Sails.js + require.js + ember.js