added jasmine and test cases for jquery plugin