A declaritive way to use $.toggleClass