PHP to JS copyright date conversion successful