Fixed view API key bug
Updated constants.js