refactoring to ease sup time computation
starting to work on ajax async call of sup time function