update files js