Hoisting all the variables to the top of the functions
Merge pull request #1 from cbdileo/cd/hoisting

Hoisting all the variables to the top of the functions