udpates 'js' requires and adds deps to package.json