Add jasmine support

Add both jasmine 1.x.x and 2.x.x support.