deprecation.js should be part of shared