fix little js syntax arror