[Hotfix] Fixing missing condition and assignment on Async.js

Adding missed condition check and assignment to support backward compatibility.

DCO-1.1-Signed-Off-By: Kunmyon Choi kunmyon.choi@lge.com