hookcollection becomes a CommonJS file