Add javascript for checkbox