Formatting seems to be a bit messy in this JS block. Inconsistent spaces around `,`, inonsistent spaces after `{` and before `}`.