namespace added to variables
Refactoring for enabling refresh results on demand
.attr() instead of .data()