borismus/device.js — pull request #10 by DominikGuzei (2013-02-05 12:53:11+00:00)
Title: Adds support to preserve URL path when redirecting

I think this pull request is pretty self-explanatory ;-)
We are using it for our app, thought this would also be interesting for other people that build single-page apps with device.js