docs: function () {
  				if (typeof global.onerror !== "undefined") {
  					var self = this;
  					global.onerror = function (msg, url, line) {
  						self.error("[" + msg + " on line " + line + " of " + url + "]", 0);
  					};
  					return true;
  				} else {
  					return false;
  				}
  			}