bugid:97514 - fixed a race condition when loading mustache