A simple sprintf library for Javascript