Pretty cool.

I decided to port your constraints helper to the web today.

http://constraints.icodeforlove.com/