Update tiptext-1.0.js

Needed a check for event instances being real (the whole thing) or artificial (injected x, y, target).