add desktop support to dom