Update main.js
little code style fixes
removed useless comments
fixed json query object names for google maps api to current lat(ob) & lng(pb)
updated google maps api object names

lat: nb lng:ob
fixed maps
fixed maps
fixed conflicts
updated branch