Update jqm controllers to work with pages in index.html or an empty body.