Fixing validate-uncompressed.js

Fixes #3278