Ajax version of lookup working.
Tidied up view model. No functional changes.