SONAR-5052 use jquery in code generated by RoR helpers

with the help of https://github.com/aaronchi/jrails