Fix interactive checkbox (issues when onClick script is undefined)