replace jquery.ajax with npm module superagent