add compatibility to next 3.3.1 version (jquery2)