Made happy jshint declaring global variables
Add support for temporary collections