Setup gears and jquery.