Jquery and other tweaks