Fixed syntax errors with IE