set up js and spec files