js spec and results processing