Fixed library to work with jQuery v2.1.1.