moved the e.PreventDefault up. Firefox was having issues