Adding setLowerCaseKeys js function
Trimming icon values and adding logic to not update paths when current path is empty