i hope script type should be
text/javascript
try this:
<script type="text/javascript" >
$(function () {
$('#btnUsingjQuery').click(function () {
$.ajax({
url: "https://maps.googleapis.com/maps/api/js?key=12345",
dataType: 'jsonp',
success: function (results) {
window.location.href = "http://www.google.com";
}
});
});
});
</script>