Swapped out jquery mobile for a custom build. Fixes the redirection problem as well since jquery mobile is not tinkering with my DOM