Collision masks don't work in HTML5

While I understand that pixel-perfect collision may be taxing for poor JS, why collision masks doesn’t work? I’ve made collision mask for a pipe in my flappy bird clone that fit its shape, so player won’t collide with thin air, but it still seems to use exact object dimensions for collisions rather than mask.