straighten constructions util

* adjust variable name
* remove unused variable
jslint
Merge pull request #116593 from mauk81/patch-5

straighten constructions util