Using php page informations in javascript

thanks for the help.
Unfortunately, I’m not sure this is working since the console is giving me this error :
Uncaught SyntaxError: expected expression, got '<'
as I add the new const.