fixed problem with deleting start-time div when rest function was called