Fix JavaScript for DokuWiki Weatherwax