Rearrange links in head to increase performance

As per a recommendation from the Chromium developer tools.
Add random test markers
Add dialogue box when markers are clicked