Templates for jQuery mobile single-page web apps