Export a rails single page app as a Phonegap project