First work on migrating reuser to nodejs