Use standard event.preventDefault when available (event.returnValue is deprecated) - #4557