checkbox - refactoring and removing jquery programatic click