Bug 859372 - Refactor DevToolsUtils.js;r=past