Fix missing semicolon and redefinition of variable in scribing_canvas.js

file.

These 2 issues were mentioned by Hound upon submitting pull request
Coursemology/coursemology.org#328.