[kerry] fix js escape issue