Added nodejs support. Closes issue#1