initial version

requires chai.js and jasmine.js