small fix js syntax error