refactoring jquery method: css('height') to height()
changed maps API method: setCenter -> panTo