Is hoisting bad somehow?  I find it much more readable to have the thing that's supposed to be in the file at the top of the file, and a bunch of implementation detail nonsense at the bottom.