format js and add readme