Convert rjs to js.erb for shared folder

This is an update of PR https://github.com/MarkUsProject/Markus/pull/1325