add asynchronous loading of js resources; keep it attached to index-async.html for now