It is very important to remove old unused references from the page. I am referring HTML page here.
Once you finalized to update new version, Ideally you should follow steps like.
1. Check if there is any deprecated method you are using in your page and update it using the specifications provided in new version.
3. Make sure things working in browsers.