Update main.js

enableHighAccuracy: true