fix invalid JS in readme example