adding scripts to base.html