added capture height and width, updated npm deps