Fixing a typo in the JS