IE Fix narrowed to preserve datepicker function.