VE-742 Fix JS syntax error