Also, if the sketches are any indication, this weird scene was going to fulfill the Bruce Campbell cameo quotient of the movie:
Then the studio decided they should also add the Lizard, either because his alter ego had already been introduced in the series, or in response to pressure from Hollywood's secret reptilian overlords. Either way, the addition of yet another villain caused an "exhausted" Raimi to quit the project. Instead of letting Spider-Man die a quiet, noble cinematic death, the studio decided to rush out a reboot in order to retain the rights to the character, hiring an indie rom-com director a mere nine days later. And rather than start from scratch, they got the screenwriter to rework his sequel script so it took place in high school.
Even more embarrassingly, leaked Sony emails showed that the studio executives were so clueless about the project that they tried to contrive ways to trick kids into liking their half-assed movie -- like having Spidey listen to EDM, get into yoga, and use Snapchat, which would be "very buzzworthy and cool." That's probably how we ended up with the scene in which Spider-Man uses that "Bing" site all the teens are raving about.