JS updated to add newcomment and AJAX controllers fixed