Fix js spec