Improving google maps with less, better logicstructure of gmaps