Loaded all intersections in a separate javascript file.