allow ikiwiki.js to be loaded twice w/o clobbering previous hooks