add javascript engine to gemfile.