added attributions to readme, and some comments to the JS