Fix some problems with undefined variables in js code.
Review Request #8733 — Created Feb. 10, 2017 and submitted — Latest diff uploaded
There were a few places in our JS where we were making use of things which were
guaranteed to be undefined. These were mostly typos and think-os.
Ran js-tests.