Remove helpers and move deep code down
Simplify EJS constructor