An implementation of Python's str.format() for jQuery