edited various functions in challenge.js
Merge pull request #2 from DaveDH2/myChanges04

edited various functions in challenge.js