Initial js code to handle markers on the map