The question is awful. So awful, that I don't think that it's at all clear that your very interesting piece of writing is an answer to it. Questions have to be understandable on their face. It's very nice of you to go read code in a jsfiddle to figure out what the OP was, in fact, asking about, but that doesn't make the question worthy to stick around.
Your comments indicate that you like to be nice to people with linguistic challenges. It's certainly nice of you to make the assumption of linguistic challenge rather than sloth. The moral of this story, I think, is this: if you want to help such a person, your first task is to edit the question so the community can read it, and then answer it.