Add nodejs adapter and partially address #22