Fix the jQuery tag creation process
Move the rowBuffer definition closer to it's usage within the method