improve readability of implied jQuery expectation