Plugin update

Removed unused variables; added minified version.