init istanbul function at end of file