added more fixes for deprecated HTML attributes