added ternjs back in