Some examples of JavaScript coding