Add empty body to loops and ifs without body

Google Closure Compiler complains with this WARNING :
"If this if/for/while really shouldnt have a body, use {}"