JS no longer works with current word container and its lineheight