added a variable in the js on index