Adding ajax post for checkbox changes