refactor(): Move demo-related code from tingler.js to demo.js.