add index footer and js script src