Update core.js to better support ie8 required fields