How to defer Javascripts.

Add the following small code (created by Google Page Speed experts) to the bottom of your page just above the closing </body> tag:

<script type="text/javascript">
function downloadJSAtOnload() {
var element = document.createElement("script");
element.src = "yourdeferscripts.js";
document.body.appendChild(element);
}
if (window.addEventListener)
window.addEventListener("load", downloadJSAtOnload, false);
else if (window.attachEvent)
window.attachEvent("onload", downloadJSAtOnload);
else window.onload = downloadJSAtOnload;
</script>

Replace yourdeferscripts.js with the .js file you created in the step before this one. By using the above scripts on your page you tell the browser to load the yourdeferscripts.js file after your page has finished loading.

About that ‘mobile’ in Accelerated Mobile Pages

There’s nothing inherently ‘mobile’ about AMP. AMP is designed to be mobile friendly, and with slow hardware and high latency connections, the boost you get with AMP on smartphones is going to be felt a lot stronger than on desktops. But AMP isn’t mobile only – it’s mobile first.

.. But the paired mode – creating a separate path for your AMP pages that will only ever be seen on mobile (e.g. through a redirect to a /amp/ directory) – comes with a set of issues attached: Sharing links between AMP and Desktop sites can fail in many ways, like showing a mobile variant on a way-too-large Desktop browser. Content that’s available on the Desktop pages might be accidentally missing or outdated on the functionally reduced mobile AMP pages. You’re now repeating many mistakes of the m.dot world (m.dot describes having an entirely seperate version of your site for mobile).

Instead, you can, and probably should, go “standalone”. This means you’ll use AMP like any other web component library out there. Instead of branching out your pages, you continue to have a single, AMP-enabled page.

Turn Your AMP Up To 11: Everything You Need To Know About Google’s Accelerated Mobile Pages

Will other search engines direct mobile traffic to AMP articles? (Perhaps not search engines that want to do business with Apple.) Will social networking apps preload AMP documents when users post links to articles, in order to make rendering nearly instantaneous? (Probably not Facebook.) Will mobile browsers start looking for link tags with amphtmlrelationships? (Chrome, maybe, but probably not mobile Safari.) And will aggregators and news readers out there build specifically for lightning-fast AMP content? (Time to resurrect Google Reader!)