Revert "js: Destroy courier after JS runtime is shutdown"

This reverts commit 48206237168413ceb411b67ea0f4cd324a02265a.