Revert "javascript update"

This reverts commit fd3327ab59c4eb605fc92b6987b865be2e4de656.
Revert "Revert "javascript update""

This reverts commit 77db1051339625fb4b92779abf5340d967b1343c.
geolocation update