Updated javascript for style with comments, updated README.md