Search box connected to exchange variables between server.rb and javascript files.