CC-5751 : Widget Sizing should not use javascript

adding contents of v2.zip