Minor changes

Split main.js into several files.
Changes to vejledning.html