Remove deprecated JSSourceFile references

Fixes #17809.