IGNITE-4770 Script inside javadoc bottom cause compilation error at 1.8.0_121-b13
diff --git a/modules/tools/src/main/java/org/apache/ignite/tools/ant/beautifier/GridJavadocAntTask.java b/modules/tools/src/main/java/org/apache/ignite/tools/ant/beautifier/GridJavadocAntTask.java
index e654231..d34b4e4 100644
--- a/modules/tools/src/main/java/org/apache/ignite/tools/ant/beautifier/GridJavadocAntTask.java
+++ b/modules/tools/src/main/java/org/apache/ignite/tools/ant/beautifier/GridJavadocAntTask.java
@@ -282,6 +282,7 @@
                             "<script type='text/javascript'>" +
                                 "SyntaxHighlighter.all();" +
                                 "dp.SyntaxHighlighter.HighlightAll('code');" +
+                                "!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');" +
                             "</script>\n" +
                             "</body>\n");
 
diff --git a/parent/pom.xml b/parent/pom.xml
index a17732d..32da7ec 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -469,7 +469,6 @@
                                         </td>
                                         <td width="100%" align="right" valign="center">
                                             <a href="https://twitter.com/ApacheIgnite" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @ApacheIgnite</a>
-                                            <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
                                         </td>
                                     </tr>
                                     <tr>
@@ -937,7 +936,7 @@
                 <jdk>[1.8,)</jdk>
             </activation>
             <properties>
-                <javadoc.opts>-Xdoclint:none --allow-script-in-comments</javadoc.opts>
+                <javadoc.opts>-Xdoclint:none</javadoc.opts>
             </properties>
             <build>
                 <plugins>