Little bit of refactoring and removed els dependency as we use the _.template method