rm unnecessary js, add footer