adds service spec js file