Fixed issue with jquery mobile not allowing express to do proper redirect of URL. Whenever a res.redirect('/somewhere/') was issued, the contents of the page would be displayed, but the URL would stay the same. It also cached stuff. Fix involved adding data-ajax=false to form elements and back buttons.