update sinatra and jquery mobile page