Modified gemfile to use javascript properly