Added looped beat demo in demo.html