Added some variables to the js