updated readme
better comments in main.js