Fix transposition error in example JS in readme.md

The error seems to have been added in ea2b4ed9782a3e645c1ce79f57bea693d4c3c948