Creates templates of js files with given array of names