Abstracting map styles and functions to base.html, add map functionality to detail.html