made W3 comliant changes