Javascript file for map functionality.