JIT fixes.

* Module bodies can now JIT (only useful for threshold=0)
* Scopes are initialized before JIT in case they have not run yet