jscript: Properly set Error object's constructor property.