Using php page informations in javascript

Keep in mind you can access the attributes with Vanilla JS too, without the weight of jQuery.