#274 skip TOC assert for javascript pre-8