HTML5 Loop Adjustment 1