main.js fixes
Merge branch 'master' of https://github.com/Grapheme/rivendoors