Added variables to the .js file