Fixed generic error and js

Forgot an import statement in views that imported the generic view from django.  This was preventing main from loading at all.  Also forgot to add a javascript "script" line to base html.  This allows for javascript to work on the pages.