Braces' typos - weird that it was working in console