fix structure, dont use nested functions unless you know what you do..; some let -> const
fix structure, dont use nested functions unless you know what you do..;
some let -> const

NO-REF

mmz-srf/srf-frontend-framework,mmz-srf/srf-frontend-framework,mmz-srf/srf-frontend-framework,mmz-srf/srf-frontend-framework