Just a quick sample of a JS module that can be shared between the server and client.