Foam rollers are indeed fantastic, though it has to be noted that they are simply treating the symptoms and not the underlying cause. Foam roller all you like, and you may well be able to continue running, though without the roller, ITBS will come back.
To stop ITBS you have to look at the underlying issues (often muscular, and based around the glutes and the "deep 6" (piriformis etc) to prevent it.