Revert "Update self-invoking.js"

This reverts commit 61849ca1f1fa057a390081c869708618b00f52c2.