Fixes bug with not hooking pagebeforechange. Add JQM 1.3.1.