The comment here is: "Inserts an icon in the page"... this explanation goes to below if (desiredPos !== undefined) {