Update jqueryPlugin.js

added equality and identity logic