removed printf statements
for some unkown reason, the code now runs at close speeds to native (3x slower on firefox and actually faster on chrome)