[closes #17]
 * Added karma+jasmine to unit test to the JavaScript code
 * Created some proof-of-concept unit tests