Please always use curly brackets in javascript, that's more explicit.
We are no javascript hipsters :sunglasses: