It looks like you are loading the jquery library in three places in your document?
Why not add it to the asset pipeline?
In app/assets/javascripts/application.js:
//= require jquery
This should speed up pageloads and you won't have to include the script tags on every page.