fixed js google maps api, use api on index map