jQuery.noConflict(), small tweaks and making things easier to read