Compatibility for Weatherwax

Rewritten the JS for jQuery and compatibility to Weatherwax.

Just using the basic jQuery lib provided with DokuWiki