Got navbar jquery working by adding jquery.turbolinks gem. Todo: get infinitescroll working