Cleaning up source and adding extra comments
fixing problem with example.js using old style
npm test script to run jasmine-node