Moved mapstyles to js file. Modified html templates accordingly.