Select method with optional attr from Grunt