Add /constants.js wrapper to /api/constants