Ajax Setup, see comments
Update progress only when it has not been set.
Lunr is required