May be this answer is late, but I hope it can help you and others who need to compute delay
the following link shows how to calculate different metrics using the javascript editor; anyway, you still have to edit some files in order to print the appropriate message to be calculated