Added jquery and ajax functionality, Sinatra