Add jQuery and insert meta and script blocks.