Update the usage of the js