exposing config to client side scripts