Adds the logic to make isotope work.