move impressive preventdefault code