Try <%# instead of <%= in the aspx web page under head section
<script type="text/javascript"
src="<%# ResolveUrl("~/jquery.js") %>">
</script>
Then in Code Behind of Master page under Page_Load Event
Page.Header.DataBind();
Now you are good to go with either jQuery and JavaScript as well as CSS just you need to change your path in ResolveUrl which file you want to handle CSS, JavaScript, jQuery.