added two constants

javascript does not really have constants.