renaming js examples