Fixed global event issue for jQuery 1.9