Update core.js, fix ie8 requiring all fields

IE8 will return "" for an unset required attr or "required" for a field with the required attr.