fixing the dependencies to work in node