Update gmap.js

added device ready, as opposed to the load. and add dom listener became add event listeneer