Adding javascript for the checkbox icons