Adds edits to code and a URL function

This commit adds some edits to the JavaScript code and a URL function in
the clark-brad-project4.js file.