fixed issue with dependency loader failing when there were 0 async scripts (#214)