Fixed IE9 compatibility issues.