Build gallery-sm-promise-events