improved web ui, add slidenum to JSON