Created js file and linked to index.html for access.  Setup comments to determine flow of the script and reasoning for its use.