Adding Js to generate map