ternjs added successfully