newline after javascript function definition

so trailing comments don't wipe out the closing brace