move js to the bottom of flag demo, add a slider, and a lab demo