Update constants.js

constants changed