Added some html, sinatra and jquery functions