Adding superagent in and removing some ugly jQuery.ajax stuff