Use e.data instead of e.detail.data for smartworker messages