add compatibility to BEdita 3.3.1 (jquery2)