Remove limit_states_num update from js, because limit_states_num is now a derived property