fix : Unterminated comment, Undefined property and syntax error