 In the original script, Martys playing rock and roll at the dance  caused a riot which had to be broken up by police. This, combined  with Marty accidentally tipping Doc off to the "secret ingredient"  that made the time machine work (Coca