Fix ``YARR_LAYOUT_FIXED = False`` in JS

Was setting the data attribute instead of reading it.