how I can pass my ID from JS function in my java service via javascript commented code for Thymelraf?