contractor.html set interval to emit socket msg