Add empty body to loops without body

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