Browser Compatibility - Calculation not working on IE browser