Fixed js syntax