use superagent instead of jQuery