Try to fix js error