Fix for issue #1361

Fixed rendering call to scripts to automatically update tables. I updated the format for rendering to js for each applicable controller call. The browser was interpreting the response as html and the javascript code was not being executed