moved js for public table
table public js content correctly indented