Made some changes to the date format fix.  Works with IE 9 or higher now.