Implemented loading external scripts and executing async/defer scripts.