Tweak to preventDefault test page