Improve javascript

JavaScript update and Node.js support