Fixed bug causing the "event.returnValue" warning to appear.