Rewrite for jQuery

Rewritten the JS for jQuery and compatibility to Weatherwax.

Just using the basic jQuery lib provided with DokuWiki