map javascript refactor

Setting up JavaScript environment to easily create and change map layers for google map