Javascript SPA example built for Phone Gap.