setting up the js