update es5 shim to 2.0.5 (+some modifications)

@ajaxorg/liskov 
fixes https://github.com/ajaxorg/ace/issues/1194 and https://github.com/ajaxorg/ace/issues/1106