Add scalar to dom