Sets up more of the jQuery and output.