Fixed extras.js including inithooks, so you can still use your own init/flush/exit functions.