+ var msieLog = function() {
+ var args = $.makeArray(arguments);
+ var vals = $.map(args, function(n) {
+ try {
+ return JSON.stringify(n);
+ } catch(e) {
+ return ('' + n);
+ }
+ });
+
+ if (window.console)
+ console.log(vals.join(" "));
+ };
+
+ $.log = function() {