Update and rename css to JS