Calculate dom in js