fix js errors in readme