Make jasmine dependency optional.