Formatting cleanup in Jasmine state helpers.