Fix syntax error. c style cast where javascript does not need or allow