Constants

Added constants.js for phonegap project.