cleaned up code a bit; moved to regular html views for now instead of jade