Move js code to js\wiki.js