Update files permissions + JS filenames