Rework for using NPM for mediacenterjs plugins