Defined contsants in PHP and JS