Javascript If Statement Without Curly Braces