Wait for keyboard help fadein and fadeout.
Use waits instead of sleeps.
Fixed test to reflect new Bootstrap3 toggle button behavior.
Merge pull request #5974 from jdfreder/emergency

Emergency JS tests fix