How to add custom javascript for Content Views (free) version?

Sometimes, you want to add custom javascript for Content Views output.
In Pro version, there is a Custom JS field in Content Views >> Settings page where you can add custom script easily.
In Free version, you can install a custom plugin to add custom code. To do it without installing plugin, you can add this code to file functions.php of your active theme:

// Content Views - add custom script
add_action( 'wp_footer', 'cv_theme_custom_script' );
function cv_theme_custom_script() {
	?>
	<script>
		jQuery( document ).ready( function ( $ ) {
			// ADD YOUR CUSTOM SCRIPT HERE
		} );
	</script>
	<?php
}

Best regards,