Fix syntax error.
Fix "ReferenceError : canvas is not defined".