Update of PR 1325
Missed some commas
Merge pull request #1601 from arkon/js-shared

Convert rjs to js.erb for shared folder