Started to transform from jquery to dom