At least you're honest about it. I don't have any JS out there period, so your terrible JS is much better than I could have done.
sometimes I do think about my first contributions. how i could have done this and that completely differently. kind of like going to first grade again with what you know (and are) as an adult.