See console.
Inline scripts will block html rendering, and it can only has access to contents above itself.