HTML: Cleanup of Peek Definition code