added setter of width and height to jquery extension