Improve savehistory init, fix jasmine-coffee