change js to nodejs