I would have sworn this was posted before but it seems not.
Fun tidbit from the wikipedia page:
In the original version of the script, J.D. successfully blows up Westerburg High, and the final scene features a surreal prom gathering of all the students in heaven. Executives at New World Pictures agreed to finance the film, but they disliked the dark ending and insisted that it be changed.