Vanilla JS module structure