Core pr 6

Fixed issue in checkbox toggle JS code.