convert example to js and bump version