Fixing some issues with ie8