fix manage_tables js