tiny but more fancy
commented JS and did some tiny little refactorizations