[Loader] Remove node-deprecated and dom-deprecated

This is a take 2 of #1126.