@jinty, 

You seem to have forgotten a parentheses at the end of this line, which results in a parse error.

This line should be corrected to:
    
    Assert.areSame(orig_mask, this.widget.get('maskNode'));