Minor clean code cleanups in cp_plugins.js code
Added copy language functionality