Ensure check button is always re-enabled.

- Update appropriate jasmine tests so that stubbed $postWithPrefix
respects a subset of jQuery promise API.