move width and height definition of movable into js file