Split plugins.js into individual files

Split plugins.js into individual files that are temporarily directly
included via script elements