Update container.js

Extensions are now properly resetting the instance being modified