moved e.preventDefault so that I can refresh the page using command + R