Fix bug for YuYu.Extensions.ForJavascript