js spec not working