Linted and tested jQuery plugin file with jasmine

Linted the jquery plugin file, and added jasmine and test cases for testing that the values are correct when passed through the plugin.