i'm going to fix this according to this: http://contribute.jquery.org/style-guide/js/#multi-line-statements - is this right? Sorry - dumb mistake. I read this and then used the "Bad" example .