fix chrome and fix not calling e.next from the browser