Enabling/Disabling/Checking/Unchecking Checkbox in javascript