Moved Google Analytics to application.html.erb and jQuerymobile analytics snippet to application.js