Issue #2205161 by jibran, rteijeiro | sun: Convert node.js into a library.

PR for https://github.com/backdrop/backdrop-issues/issues/211