Corrects JS examples in readme