Added proper beat and bar display for trigger.html