update public js files