added README, .gitignore, uncommented working js