first draft of javascript bob exercise