Fix for silent failure when loading in PhoneGap

As discussed in https://github.com/zeroasterisk/MeteorRider/issues/7#issuecomment-50597807

This fixes the path passed to `history.replaceState` and `history.pushState`.