Used jQuery selectors to deal with all the min buttons at once