Demo of JavaScript closures