added repair() test
document destroy & repair
restore original (minimal) index.js, remove CBatch