Replace anonymous function declaration with IIFE.

Fixes token errors on nodejs and some strict browsers.

I wasn't able to run `src/test.html` (couldn't find `hljs`) what is the testing procedure nowadays?

Closes #412,
~ Jonathan