Fixing stupid ie8 bugs