huge wiki processor refactoring: jquery->vanilla