Switched from jQuery to Superagent for AJAX