DAR-1859 | Move adding class to <html> to better place