update gemfile and js file