adds jquery, and puts footer in main container