[fix] update jQuery adapter to work with jQuery 1.8.4+