JS logic question - Kevin Powell - Community