jquery now working. Needed to have the jquery gem called first in applications.js