SPA template for jquery mobile