Make some markup into 'modules', which are inserted via JS