Jquery1.8

I need to use jquery 1.8 to integrate with other gem. After changing jquery-rails dependency  I got some strange errors about wrong selectors on Sizzle. Adding $(document).ready on site_bar.js fixed it