Added jsDocs

Resolved #19 
Node.js