removing q.js. Using when.js instead because q.js uses eval