feat(then): add then for promise
feat(if): add if for js