Cleaned up eventpipe
cleaned up plugin.js