Cleaning up the jasmine plugin adaptor