Thanks @mzgol for patiently reviewing my code! I am sorry there was so much back and forth but this is my my first contrib to jquery. Will be more careful from next time.
Thanks again!