Arranging JS variables to reflect hoisting.