add workaround to make Slimbox work with jQuery 1.9+