Fixed js syntax.