$(function(){
   $('input').click(function(){
        if($(this).attr('type') == "checkbox")
        {
            $(this).toggleClass('ON');
        }
   });


});