trying to fix a rendering error, removing unneeded js