Port BlueDotButton to JavaScript/CSS.
Fix some JavaScript demos.