fix js error on submit comment