Deleted unneeded js code