fixed string.isdigit, deprecated _create_empty_object.
fixed "in" javascript test for things without special "__contains__"