js spec