updates js naming