Hey there! Thanks for the recent update to the code.
I do have a suggestion for another code change though as I ran into some issues a while back and fixed the code myself.
I don't recall which browsers had the issue exactly, but some browsers report back as 'True' and some report back as '1' for the functions in the attached paste bin, so I put in an OR check for true or 1. Understanding that it shouldn't be needed, but it wasn't working in one or more of the browsers I was working with.
paste bin again