Compatibility with DokuWiki Weatherwax

According to https://www.dokuwiki.org/devel:jqueryfaq call of ``addInitEvent`` replaced with ``jQuery``.