curly brace needs to be on same line as if, for, return, or function, because of JavaScript's 'Semicolon Insertion Mechanism'