Javascript Array Check If All Checkbox