Update JavaScriptUtils

Add escaping for <, >, and PS/LS line terminators

Issue: SPR-9983