adding js specs