Finished adding extensive comments to all JS code. Also added a general project description to the README file.