changed partial exercise icon
Revised a few lines and fixed spacing
add missing semicolon
don't use var out of scope
add radix param to parseInt()
don't create global for var
define var before it is used
Fix for #2073