Updated the library files to work in a node server.