updated to support ie8