Size readstr input box with js instead of flex.