Rename import method to export in plugin.js