Getting started with jquery and some clean-up