JavaScript shenanigans with user input - Kevin Powell - Community