Simple NodeJS examples taken from some docs online.