Update example and js