added details to the js file