Update application.js

As a quick fix requiring jquery migration to allow for JQuery depricated method live to work