Add support for async attr in script blocks