Update line numbers once you move the var definitions to the top.