Reverted changes to try to deal with IE