Fixing MyPlugin.js