User Feedback Window

My site uses markdown and jQuery on the front end and PHP/Laravel backend. I was able to get sentry.io working on the PHP backend just fine but I would like to have the front end display the user feedback popup box on an error like in the “Java” stack sentry demo. Is there a way to use the Java sentry.io Java version on my build so that I can put the Java into my front end, here is what I am looking to see happen:
https://docs.sentry.io/platforms/javascript/enriching-events/user-feedback Does anyone know how we can set this up on the frontend so it will work for us? LAMP stack with PHP/Laravel backend FE: is Markup and jQuery