Reference fix
Added API (Ajax) samples.