renaming js refs