docs(example): update with js