jQuery 2.0 compatibility

See nickdunn/publishfiltering/#37