added offsetWidth/offsetHeight to server elements