initial commit using functions in JS exercise