Added declaration of DOM elements in setup function. Changed from querySelector() to getElementsByClassName() for improved speed.
Added declaration of DOM elements in setup function.
Changed from querySelector() to getElementsByClassName() for improved speed.

RSeidelsohn/lory-lesara,RSeidelsohn/lory-lesara,keithws/lory,VladimirGavrilov/lory,keithws/lory,meandmax/lory,meandmax/lory,VladimirGavrilov/lory