updated gemfile and application js