Using q.js instead of rsvp.js