Clean code

Hi, I'm a little cleaned your code. Added ';' and made ​​more readable IF.