Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
The content will still be replaced but with a warning in the console. To get rid of the warning just move the script out to the parent container, ie.
OR, even better, use body.onload or jQuery(document).ready.
If you want more information about this problem head over to Microsoft's support site: