Demo of JavaScript