Got form submission working by adding "X-MicrosoftAjax" header. Split functionality up a bit.