Remove line running setting event.returnValue, which causes a warning in Chrome. Closes #2251.