corrected the jasmine script generated.