Really hidden warnings in javascript_quote tests

Refs #21725.