refactored main.js (most of it isn't used anymore) + renamed to dom_manipulatons.js + readded to index.html (fixes #61)