This is a JS program showing the use of functions