added jQuery1.9 support