Updated script.js to be compatible with 2013-05-10a "Weatherwax" version of DokuWiki