Fixed the build

* Stub `getCurrentPosition`
* Stub `localStorage['lastLocation']`