Add ternjs