Almost finished with adjusting reuser to nodejs