title: Passing Function from Server to Client
body: <p>for a recent project of mine I need to pass two functions from my server (written in node.js) to a client javascript tag. Actually to be completly correct, the client side javascript calls an XML request and I want to return some data and two functions for him which he should be able to use.</p>
  
  <p>Second thing is I want to store a javascript function into a database in the server and then fetch it if the client requests it.</p>
  
  <p>Anyone knows how this can be archieved and has some experience with it?</p>