Reorganised jquerymobile to fix 404s