Start making script work for multiple files.
Parse all function names ahead of time.
Properly handle function declarations.

By rewriting them into function expressions.