merging with emmy upstream- added new stuff to accordion function on new.html.erb file