Change width and height declarations to occur after load