added JS and  html changes