add tests and update views
update js for comments