jquery1.9 compatibility