now Compositer may be used as <script> or commonjs module