Change js interface for plugins and add configuration