Revert "Update plugin.js"

This reverts commit 915cf65278046369cc20c48816788139edb3c255.