Group variable declarations

To fix the JSLint error about variables not being grouped