Fixd chrome compat bug and callbackFn issue.