add dom-ruler as a dependency