Reduced number of operations with jQuery - rewritten with clean JS API.
Removed number of iterations, simplifying code structure.
Degradated to JS API usage. Simplified code structure.
Change log added