toString is faster than string concat for functions http://jsperf.com/concat-vs-tostring-function
Merge pull request #10 from esco/master

optimize function serialization