Adding js and jquery magic