IE8 getBoundingClientRect

Check if getBoundingClientRect is a function.