Only selectAll if there's console content

Because this causes the entire page to be selected when it's loading :-\

Fixes #1979
Merge pull request #1982 from jsbin/fix/1979

Only selectAll if there's console content