Renamed script. Added more comments, cleaned-up the Javascript code. Updated the index.html file.
More elegant design of the demo page.