Fixed the validation that jasmine exists in the global scope