convert to node app