JS example tweak