Quick bug fix in stage editor

Fixed a minor syntax error in the canvas-engine.js file pertaining to the
incomplete "rating system", which was preventing the entire stage editor
from running properly. The error was a lack of parentheses around the
condition in the if statement, which is required in Javascript.