Update index.html

use loop for viewing command structure
it may be not hard