Add JS to update map details