refactor(cloudfunc) mv getStrBigFirst to client