Optimized plugin for WordPress & did a simple lint of the JS file.

Basically removed the extra spaces as well as getting rid of ending ?>[space] which slows WP down most times due to errors. This alone usually tends to speed up plugins in WordPress. 
Also, a quick couple semicolons which jslint suggested.