script program written by NodeJS