Adds extra wait for requirejs after browser history changes.

Tests are sporadically failing on Travis CI with apparent timeout
issues to blame. This adds an extra wait after browser button tests
change the history state.