HTML5 Loop Adjustment 2