added public js