Using Sinatra, JS, and AJAX for interactive front-end display.