added advice to include javascripts if necessary
added advice to include javascripts if necessary

Also cleaned up some of the code

zBMNForks/rails-bootstrap-navbar,bootstrap-ruby/rails-bootstrap-navbar