turned spaghetti code into working, jslint acceptable code
Merge branch 'story2'
changed name mockGeo to navigator