moved javascripts to app.js
improved map #1

* create a class to manager map (removed windows)
* set panToBounds
* set fitBounds