Added common code for filter, hash related and using of template in backbone with underscrore