Updated main.js documentation, mostly about the keys variable