Improved performance

Hi,
I improved the performance of sprintf,js by generating code that do the printing and cache it in a global object.
This will improve run time by at least X50.
Yoni.