Minor JS fixes.
Update readme slightly.