Fix firefox checkbox handlers