Is there any way to change Visual Studio Auto formatting options? Like VS by default uses close bracket format for Javascripts.
For Visual Studio 2013:
Tools -> Options -> Text Editor -> JavaScript
There you can can change formatting options for JavaScript.
For open brace on new line for function:
Tools -> Options -> Text Editor -> JavaScript -> Formatting -> New Lines