added nid to package.json, fixed cms.js to run save test

you'll need to run npm install again to get the nid package