Add ajax field switching between citation types