Update main.js

Uncommented preventDefault, returnValue, and return false.