adding to the js