moved script inclusions to base.html, added correct URLs to some files