Added constructor that allows you to specify the name of the plugin variable for scripts.
Bumped version to 1.1 for release.