Added support for vsprintf

Load https://github.com/alexei/sprintf.js to make it work