Typo in js block