changed from Google Maps' static API to JavaScript