updated node version and added .js to main