Here you can find the source of ChrW()
Number.prototype.ChrW = function() { return String.fromCharCode(this); };