runJavaScriptConditionalBlocks: Also follow JavaScriptAmdDefine, Java, and HtmlRequireJsMain relations when gathering the assets that might contain if (window.HOOK) {...} blocks.
Release 1.8.0beta10.