More comments in JS file, updated README.md