cleaned up code to start from express web site example