<script type="text/javascript">
  document.addEventListener("DOMContentLoaded", () => {
    new BrickSocket('add', '{{ path }}', '{{ namespace }}', {
      COMPLETE: '{{ messages['COMPLETE'] }}',
      FAIL: '{{ messages['FAIL'] }}',
      IMPORT_SET: '{{ messages['IMPORT_SET'] }}',
      LOAD_SET: '{{ messages['LOAD_SET'] }}',
      PROGRESS: '{{ messages['PROGRESS'] }}',
      SET_LOADED: '{{ messages['SET_LOADED'] }}',
    }{% if bulk %}, true{% endif %});
  });
</script>
