adding ruby and js