Reverted plugin.min.js and used the config instead
Edited the minified config too to make it work on my local environment, though presumably this should be generated from the non-minified version.