update public.jsp to public.js