add DB and completed client timing js