Added wait for JS before clicking nav menus

Fix for this failure:

https://jenkins.testeng.edx.org/job/edx-all-tests-auto-master/366/SHARD=1,TEST_SUITE=cms-acceptance/

I'm not happy that this solution is so ad-hoc, but in the short term I want to make master stable without disabling tests.

@singingwolfboy