Secret sharing app made in Ruby on Rails with Ajax