fix deprecated returnValue warning in chrome

As @hatched reported in #1417

chrome now issues a console warning
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.


More discussion, see #1429