Moving js.erb scripts to Submissions/View