Simplifying by using partials and blocks in ejs