Fixes for AJAX stuff. Non-standard x-form encoding from superagent now removed