Changed Readme, added comments to .js