finished converting required files to node js