Update index.js

removed double $($('')) with function scope of `this`.