Make plugin compatible with Weatherwax

Quick fix to remove incompatibilities caused by removal of 'compatibility.js' in weatherwax. 

Note, this version of the plugin will not work with DokuWiki versions before Angua.