Changed php ans js constants.