Added factory call in http.get and removed corresponding code from initMap()