moved scirpts to the footer