Remove console.time comment from body
Replace .empty with plain DOM methods