Moved redundant code and fixes

Moved redundant code to dugga.js
Fixed swedish characters globally.