added the newTainted javascript method hook