Fixed preventDefault bug in main.js
trying to merge
mergable?