Fix lint, reduce duplication, don't scale ctx
Fix lint, reduce duplication, don't scale ctx

Scaling ctx was breaking the scale when setOption was called, not sure
it was doing anything.

sourcelair/xterm.js,xtermjs/xterm.js,sourcelair/xterm.js,akalipetis/xterm.js,akalipetis/xterm.js,xtermjs/xterm.js,sourcelair/xterm.js,Tyriar/xterm.js,Tyriar/xterm.js,xtermjs/xterm.js,akalipetis/xterm.js,xtermjs/xterm.js,Tyriar/xterm.js,Tyriar/xterm.js,Tyriar/xterm.js,akalipetis/xterm.js,xtermjs/xterm.js,sourcelair/xterm.js