PART B - added jQuery, attempting to seperate presentation from functionality