can you do this with jquery/javascript (question about brackets)

can you do this with jquery/javascript (question about brackets)

hello,

Javascript is usually written like this:

{
code...code...code
}
{
code...code...code
}

I was wondering if you can you do this instead:

{code...code...code}

{code...code...code}

It drives me crazy to have those brackets like the way most people do.  It would be a great relief to know that you can keep the brackets together like the way I showed rather than the broken apart version.

Basically I'm hoping Javascript is semantically agnostic regarding line escapes as it relates to the brackets that surround the code.