remove unneeded js for modal