Extended demo with looped beat

Nice library. Just added a bit of fun to the demo.html :)