prepared javascripts spec