added jasmine testing
Merge pull request #51 from whyi/jasmine_testing

added jasmine testing