We weren't adding the HTML id our JavaScript expects, and so the page didn't update the flag element.
We get rid of database cleaner, and JavaScript tests are faster because between tests we now rollback transactions instead of truncating the database.