restructured tests, started using CDN for js, added async header