#979 - added fallbacks for getComputedStyle if not supported (IE 8), added parseFloat to return a float rather than a string