add missing semi-colons, add radix parameter for parseInt, rm var declaration for variables within a function that are already defined because they are parameters, etc.
Merge pull request #352 from Trott/course-manager-dom-js-cleanup

add missing semi-colons, add radix parameter for parseInt, rm var declar...