updating readme with javascript