Converted injected script to commonjs, updated build
Updates to plugin preparing for release of code