some fixes
some fixes

- commenting the bit shifts
- switching to Uint32Array
- conditional for TypedArray
- fixing Math.floor slowdown in bisearch

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