Thank you! Didn't have time to port it to a browser because it had some weirdness. I'll try it though.