How to write beautiful code using jQuery?
===

I love Mootools and Javascript (as is), but my bosses ask me to use jQuery. And when I try to write code it looks ugly. What to do?

Best result I did using jquery.class and [Function.prototype.bind](https://gist.github.com/3148532) from Mootools to make widgets for every active part of interface.

Do you have any recommendations or example?