public js update