made e.preventdefault cross browser