Use the same object for this.mods and this.ctx.mods within default mode

closes #441 

Code style fixed as well

\cc @veged @indutny