public js