Refactored jade views