Event delegation for the win! Fixes examples not working

Since these are being put in dynamically now, they just need some event delegation. I thought .on("click") was enough, but obviously forgot everything about event delegation.