ie8 fix for clearing dates

see:
https://github.com/eternicode/bootstrap-datepicker/commit/9e48783a799b851f8a23bd4693893cd2977f0a95