Assign, don't declare, functions in emitted JS