fix bug 1080001 - Address New Relic-reported JS Errors

Ensuring we have a few objects before they're used will save a few error reports in NR from IE8.