Support for IE8 browser

Using comments from cold12's on issue 73 located here
https://github.com/Eonasdan/bootstrap-datetimepicker/issues/73, I was
able to modify bootstrap-datetimepicker.js to work on IE8