server dynamically serving up some js to client