I developed a cloud music player (specifically a mobile
MPD client) with jQuery Mobile (
www.mpdtunes.com) and the audio persists naturally due to the AJAX driven page navigation used by jQuery Mobile. I'm mainly using single pages though, but it should be the same in a multi-page template as long as you are not using data-ajax="false" or rel="external". If you look at the screenshots at
www.mpdtunes.com/screenshots and think the application I built is close to what you want to build, you can save yourself a lot of time and wait for me to release the community edition of MPDTunes under the MIT License. I'm planning on releasing within the next week or two. I'm just trying to fix a few more bugs before I release.