Example for node js  callback function