Move exported function to top of script in wiki.js
Renamed wiki.js to index.js
Reindented source
Fixed entry point of module in package.json