Add pry-rails gem for easier debugging
Move javascript specific to nav bar to separate file for imprtation