Fix all remaining JavaScript unit tests on master.

Review Request #6447 — Created Oct. 14, 2014 and submitted — Latest diff uploaded

Information

Review Board
master
1d59f02...

Reviewers

There were a couple other JavaScript unit tests that have been busted on
master. One had to do with bug links, and the other had to do with the
display of the branches in the New Review Request page. This fixes both.

All unit tests pass (in combination with my other changes).