changes to map
moves JS out of view