Show loading message while assay variable data is loading, moved HTML into a template