Accelerated Mobile Pages > User-authored JavaScript found on page (Critical issue)

And last post from me today ( i promise:) reagrding AMP plugin. I ve installed AMP for PRO theme of yours (mine too), and i got reports from google search console of errors found.
It says: Remove any custom JavaScript code from your page.
I ve deactivated in the meantime those plugs: SEO Yoast AMP glue and AMP, but i as Google announced they ll be downgrade all sites withotu AMP funcionallity, so eventually this could result in bad SEO performance (as mobile first indexing is also rollout as priority). Any suggestions?
Google search console.png


This discussion has been closed.