jQuery fix: noConflict
Improved code