Can now click to add markers

Edited main.js to allow clicking for adding markers