Deleted unused variables in jpgjs buildComponentData.
Merge pull request #4896 from CodingFabian/cleanup-jpgjs-buildComponentData

Deleted unused variables in jpgjs buildComponentData.