IE browser's javascript date format bug fixed