Extracted repository constants to constants.js