load script asynchronously