adding JS functionality for report submissions to different controller actions
Merge branch 'View' into dev