updated constraints in the WebGL client
fix two more constraints