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
Add Xunit support for JS tests

Casper supports producing xunit output. WIth this, our --xunit flag gets
passed down to the JS test process. This should give nicer output for
JS test failures on Jenkins.