Added (slightly broken) jasmine for unit testing