Migrated everything to CommonJS format modules (no more hacks for the web, those will be handled independently).