Issue #468 by sgl: Typo in js