write deprecated pkgs in static/index.js, `/package.json.js` is conflict with nginx rewrite rules