diff --git a/www/src/py_dict.js b/www/src/py_dict.js
index <HASH>..<HASH> 100644
--- a/www/src/py_dict.js
+++ b/www/src/py_dict.js
@@ -96,7 +96,7 @@ $iterator_wrapper = function(items,klass){
             return items.next()
             //return items[counter++]
         },
-        //__repr__:function(){return "<"+klass.__name__+" object>"},
+        __repr__:function(){return "<"+klass.__name__+" object>"},
         //counter:0
     }
     res.__str__ = res.toString = res.__repr__
diff --git a/www/src/py_int.js b/www/src/py_int.js
index <HASH>..<HASH> 100644
--- a/www/src/py_int.js
+++ b/www/src/py_int.js
@@ -271,6 +271,9 @@ $IntDict.bit_length = function(self){
     return s.length       // len('100101') --> 6
 }
 
+$IntDict.numerator = function(self){return self}
+$IntDict.denominator = function(self){return int(1)}
+
 // code for operands & | ^ << >>
 var $op_func = function(self,other){
     if(isinstance(other,int)) return self-other
add numerator and denominator to int