js functions to tie form actions on /circle/:id