Allow Scout Custom Rendering Function

Changes the way that the Scout custom rendering function is sanitized and, subsequently, decoded and output. 

Prevents the rendering function from being gutted by the sanitize_text_field() function.

Uses esc_js() to encode instead, which is then decoded by htmlspecialchars_decode() and stripcslashes().