fixed missing 'else' between ie8 and ie10