Moved Maps Code

Moved homepage map code to and external file called mapIndex.js