First, that entire plotline was poorly conceived. All his scenes are goofy and poorly written. He unnaturally narrates to himself all the time! I know I never really cared about his struggle. Yeah, guy had to work on his birthday. But, he was already creepy and off putting. No one feels bad for the creepy guy. The fact THIS was what led him down the path to evil is weak. They had a blank canvas basically to work with for Electro, and the plot they came up with was cliche, poorly written, and jarred the narrative to a signifcant extent.
Honestly, if they had not developed him at all and made him someone Norman Osborn experimented on before he died and used him as muscle (later maybe Harry teams up with him once he finds out about him), the movie would have been better. No poorly used screentime on him, and you could have further developed Harry's subplot and done more with Peter's interpersonal relationships and maybe given the dumb parents plot a better ending. Instead, Max Dillon sings happy birthday to himself in an awful scene, and no one cares. Not good use of the screen.