wang tiles 1.0.0 - raphael only with cleaned up code