add ternjs project snippet