Fixed issue overriding toString and other issues caused by the DontEnum bug in IE<9 (#260)