Prevent failure on IE8 due to browser prototypes not existing

Fix for #57 - conditionally extend DOM prototypes in case they don't exist