They don't have actually any purpouse, and can be removed safely.

I started using them while programming in JavaScript long time ago. Firefox didn't like having a } then an instruction (ie. try{b()}catch(e){}alert("");), so I got used to put them after every key.