Read the properties on the server and emit JavaScript markup.
One way I've done in the past:
In a context listener, read in the properties and create a Map implementation of the name/value pairsPlace the Map in application scopeon a JSP page, reference the Map to grab any (or all) properties and their values
This assumes that the properties aren't expected to change over the life-cycle of the application.