finally figured out how to set footer with jquery