Nasty bug in main.js

resetValues() had no ';'. Values were not reset. This was not visible
because at startup everything was already by default.