Put all var declarations at top.
Merge pull request #4 from kid-icarus/master

Put all var declarations at top.