Added code to prevent looping on cache creation.
Added code to prevent looping on cache creation.

steptools/StepNCViewer,steptools/StepNCViewer,steptools/NC.js,steptools/NC.js,steptools/StepNCViewer,steptools/NC.js