Don't access DOM until it's ready.

Some methods were attempting to manipulate the DOM before the ready event fired, causing dashboard load failures on chrome/Linux.

Jira issue: wp-1036