Fixed issue with error that would be caused if scripts were included outside of the <head> of the document.