removing q.js dependency in progress