script.async = false;
From https://developer.mozilla.org/en/docs/Web/HTML/Element/script:
Set this Boolean attribute to indicate that the browser should, if possible, execute the script asynchronously. It has no effect on inline scripts (i.e., scripts that don't have the src attribute).