Fixed JS parse error
Merge pull request #2957 from Atlante45/fix_for_editModel

Fixed JS parse error