Add cleanup for jasmine framework