refactored to DokuWikis jQuery mode