implement async loading by HeadJS.