javascript cannot omit parens in function calls