Always use curly braces, and follow this style guide: http://contribute.jquery.org/style-guide/js/