Update main.js

refreshgps timeout