string-format.js on github
This is an implementation heavily inspired by both console.log and perl’s sprintf implementation.
All you get are 3 simple replacements that allow you to ease the pain of variable interpolation in JavaScript.
It was kept to a bare minimum to make this a no-brainer to include in projects. Minified and gzipped it comes to around 550 bytes.