Good to know that you can read the texture. It would be awesome if there was a function that would let you grab a rect from that texture.
If it doesn't fit on your roadmap, I am pretty sure you can do it with js as is (or with a use of library). Which makes me think - can you add your own libraries?