Revert "Update plugin.js"

This reverts commit 7588717cd501356351b8f4e24ab44452086fc69c.