In the Really Simple theme (good for hard coding web page layout for simplicity), in page.php, this line sends out main page content, including the title:
get_template_part( 'template-parts/content', 'page' );
It also strips out javascript in the main page content. If you can find a good way to send back the title alone, comment this line out, and replace it with:
echo get_post_field( 'post_content', get_the_ID(), 'raw' );
This does not filter out such javascript.
As for including the title (in h1 html tags),
get_template_part( 'template-parts/content', 'title' );
works, but not quite right. It turns the title into a link.
Further looking into this matter, I found in the post_template.php file:
function the_content( $more_link_text = null, $strip_teaser = false ).
In this function, in my case, on lines 256 and 257: $content = apply_filters( 'the_content', $content ); and $content = str_replace( ']]>', ']]>', $content );.
I commented out both of these lines. That fixed it.
<script> tags and javascript content is no longer filtered out.