Implemented jquery mobile and moved all pages to a single document