fix #28 - avoid errors at extending prototypes not supported by IE8