textjs fix